#ifndef _TMMODBUS_TCP_H_
#define _TMMODBUS_TCP_H_

#include <stdio.h>
#include "esp_err.h"
#include "sdkconfig.h"
#include "esp_log.h"
#include "esp_system.h"
#include "esp_wifi.h"
#include "esp_event.h"
#include "esp_log.h"
#include "nvs_flash.h"

#include "mdns.h"
#include "esp_netif.h"

#include "mbcontroller.h"       // for mbcontroller defines and api
#include "modbus_params.h"      // for modbus parameters structures

esp_err_t modbus_tcp_slave_init(mb_communication_info_t* comm_info);
void TmMbChargeAngleValue(uint8_t valueH, uint8_t valueL);

#endif